Versions:
sqrail is a SQL-on-files command-line tool by yhay81 that lets coding agents query CSV, JSON and Parquet files with DuckDB. It is a non-interactive CLI made for coding agents that write SQL. To suit this kind of automated caller, it provides predictable file binding, streamed execution, bounded resources and machine-readable output, and it works with CSV, TSV, JSON and Parquet files. An agent can therefore inspect and analyze data files with ordinary SQL statements without first loading them into a database server, and it receives results in a form that is easy to parse. Bounded resources keep a single query from consuming unlimited memory or time, which matters when commands are issued by an automated process. The software belongs to the category of data tools and developer utilities for the command line. Typical use cases are exploring the structure of a data file, filtering and aggregating records, joining several files and checking data quality as part of an agent-driven programming or analysis task; the same commands can be used in scripts written by people. The version listed in the catalog is 0.3.2.
Tags: